package cn.edu.cdp.jxgl_springboot_web.dao;


import cn.edu.cdp.jxgl_springboot_web.domain.Account;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
public interface AccountDao {
    @Select("select username, password, role from account " +
            "where username=#{username} and password=#{password}")
    Account login(@Param("username") String username, @Param("password") String password);

}
